package com.example.stream.demostream;

import java.util.Arrays;

import com.zhe.generator.GenerateDatabaseDocumnet;

/**
 * 生产数据库文档
 *
 */
public class GenerateDatabaseDocumnetUtil {

	public static void main(String[] args) {
		GenerateDatabaseDocumnet generateDatabaseDocumnet = new GenerateDatabaseDocumnet();
		generateDatabaseDocumnet.setDriverName("com.mysql.cj.jdbc.Driver")
		.setUrl("jdbc:mysql://rm-wz932m1n9j3920f3c.mysql.rds.aliyuncs.com:3306/platform_manager")
		.setUsername("root")
		.setPassword("oIDkFxY3O!")
		.setFileOutputDir("/Users/zhonghuaen/Downloads/")
		.setIgnorePrefix(Arrays.asList("t_"));

		generateDatabaseDocumnet.generate();
	}

}

